package com.leyou.dao;

import com.leyou.pojo.Item;
import org.springframework.data.elasticsearch.repository.ElasticsearchRepository;

import java.util.List;

/**
 * @author XiaoLuo
 * @ClassName: ItemRepository
 * @Description: ${todo}
 * @date 2019/4/20 18:56
 */
public interface ItemRepository extends ElasticsearchRepository<Item,Long> {


	List<Item> findByPriceBetween(double price1,double price2);
}
